<html>
<head><meta charset="utf-8"><title>Attribute Syntax Highlighting · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Attribute.20Syntax.20Highlighting.html">Attribute Syntax Highlighting</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="197366874"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Attribute%20Syntax%20Highlighting/near/197366874" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> George Fraser <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Attribute.20Syntax.20Highlighting.html#197366874">(May 13 2020 at 04:03)</a>:</h4>
<p>Rust-analyzer has recently merged some PRs intended to make semantic syntax highlighting match the builtin TextMate coloring better, so that there's less change when rust-analyzer activates. We're now discussing adding syntax highlighting to attributes---if you have opinions about this, please weigh in: <a href="https://github.com/rust-analyzer/rust-analyzer/issues/4430">https://github.com/rust-analyzer/rust-analyzer/issues/4430</a></p>



<a name="197376352"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Attribute%20Syntax%20Highlighting/near/197376352" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Kirill Bulatov <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Attribute.20Syntax.20Highlighting.html#197376352">(May 13 2020 at 07:23)</a>:</h4>
<p>I just wanted to thank you for taking your time and creating those highlighting issues and PRs to fix the default theme highlighting.<br>
My eloquence was not enough back in the time to convince anybody to take care of it <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span></p>



<a name="197404645"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Attribute%20Syntax%20Highlighting/near/197404645" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Attribute.20Syntax.20Highlighting.html#197404645">(May 13 2020 at 12:27)</a>:</h4>
<p>Yeah, attributes are complicated, because at some point we've just accepted that stuffing arbitrary token tree into an attribute is OK, and now we can't easily highlight stuff as expressions, because it isn't</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>